package com.hckjsec.law.domain;

import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 公法机构简介主对象 web_law_mechanism
 * 
 * @author cyt
 * @date 2021-11-03
 */
public class WebLawMechanism extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构id */
    private Long configId;

    /** 机构图片 */
    @Excel(name = "机构图片")
    private String mechanismImg;

    /** 机构logo */
    @Excel(name = "机构logo")
    private String mechanismLogo;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 详情 */
    private List<WebLawMechanismDetail> detailList;
    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }
    public void setMechanismImg(String mechanismImg)
    {
        this.mechanismImg = mechanismImg;
    }

    public String getMechanismImg()
    {
        return mechanismImg;
    }
    public void setMechanismLogo(String mechanismLogo)
    {
        this.mechanismLogo = mechanismLogo;
    }

    public String getMechanismLogo()
    {
        return mechanismLogo;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    public List<WebLawMechanismDetail> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<WebLawMechanismDetail> detailList) {
        this.detailList = detailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("configId", getConfigId())
                .append("mechanismImg", getMechanismImg())
                .append("mechanismLogo", getMechanismLogo())
                .append("content", getContent())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
